package com.woniu.repaircenter.models.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@ApiModel("完成维修单数据")
public class UpdateFinishRepairForm {
    /**
     * 维修单号
     */
    @ApiModelProperty(value = "维修单号")
    @NotBlank(message = "维修编号不能为空")
    @Size(min=19,max = 19, message = "维修编号应为19位")
    private String repairNum;
    /**
     * 维修照片ids
     */
    @ApiModelProperty(value = "维修照片id")
    @Size(max = 2,message = "最多上传2张图片")
    private Integer[]  repairPhotoIds;
}
